how to find coefficient